package com.shop.om.utils;

public interface Constants {
	
	String BASETURL="http://robot.jiankangzhan.com/";
	
//	String BASETURL="http://123.57.27.38:9090/";
	String CACHE_SOURCE_REDIS="redis";
	String CACHE_SOURCE_DB="database";
	
	String MODULE_BODY="body";
	String MODULE_DICT="dict";
	String MODULE_HEADFOOT="headfoot";
	String MODULE_COMPANY="company";
	
	String TAG_MODEL="models";
	String TAG_PAGE="pages";
	String TAG_ITEM="items";
	String TAG_CLASSTYPE="classTypes";
	String TAG_CUSTOM="customs";
	String TAG_NEWS="news";
	
	String SMS_MD5_KEY="kangjia_jkz";
	String SMS_MD5_URL="IFI/SMS/SMS_02";
	
	String DEVICE_SEND_MQTT_URL="IFI/V2/IFI_20";

	String APPVERSION_NEW = "appVersion_new_";

	int DIFFDATE = 2;

	String PAYORDER_CLOSE_CODE = "1001"; //订单关闭标示
	String PAYORDER_NOTFIND_CODE = "1002"; //订单未查询到标示
	
	/**
	 * redis key access_token
	 */
	public final static String REDISKEY_ACCESS_TOKEN = "access_token_2";
	/** Redis 健康建议Key   */
	public static String REDIS_GUIDE_MAPKEY = "REDIS_GUIDE_MAPKEY";
	/** Redis 基础数据Key   */
	public static String REDIS_TARGET_LISTKEY = "REDIS_TARGET_LISTKEY";
	
	/** Redis 不分级所有基础数据Key   */
	public static String REDIS_TARGET_ALLKEY = "REDIS_TARGET_ALLKEY";
	
	/** Redis 设备Key   */
	public static String REDIS_DECIVE_KEY = "REDIS_DECIVE_";
	
	/** Redis 设备绑定用户   */
	public static String REDIS_DECIVE_BIND_KEY = "REDIS_DECIVE_BIND_";
	
	/** Redis 设备绑定用户 时长  */
	public static long REDIS_DECIVE_BIND_EXPIRE = 30;
	
	public static String REDIS_USER_LASTREPORT_KEY = "REDIS_USER_LASTREPORT_KEY_";
	/** Redis 用户当天第一份报告   Front*/
	public static String REDIS_DAYONE_REPORT_KEY = "REDIS_DAYONE_REPORT_KEY_";
	
	/** Redis 用户历史最新的一份报告   */
	public static String REDIS_FRONT_REPORT_KEY = "REDIS_FRONT_REPORT_KEY_";
	
	
	/** Redis 计算用户排名*/
	public static String REDIS_RANKING_KEY = "REDIS_RANKING_KEY_";
	
	
	/** Redis 新版建议*/
	public static String REDIS_INDEX_TYPE_KEY = "REDIS_INDEX_TYPE_KEY";
	
	/** Redis 报告数据*/
	public static String REDISKEY_REPORT_DATA = "report_data";
	
	/** redis 报告数据 存放时间 */
	public final static long REDISKEY_REPORT_DAYS = 7;
	
	/** 没有原始数据 */
	public static String ERROR_NOT_BLACK = "400";

	/** 没有基础数据 */
	public static String ERROR_NOT_TARGET = "401";
	
	/** 没有用户信息 */
	public static String ERROR_NOT_USER = "402";
	
	/** 没有用户年龄 */
	public static String ERROR_NOT_AGE = "403";
	
	/** 没有微信用户 */
	public static String ERROR_NOT_WXUSER = "405";
	
	/**没有报告信息  */
	public static String ERROR_NOT_REPORT = "406";
	
	/** 成功  */
	public static String REPORT_SUCCESS = "200";
	
	/** 套餐  */
	public static String REPORT_PACKAGE = "201";
	
	/** 添加订单失败  */
	public static String ERROR_ADD_ORDER = "500";
	
	/** 更新订单失败  */
	public static String ERROR_UPDATE_ORDER = "501";
	
	/** 通用错误  */
	public static String ERROR = "300";
	
	/** 数据错误  */
	public static String ERROR_DATA = "301";
	
	/** 状态错误  */
	public static String ERROR_STATUS = "302";
	
	/** 验证码不匹配  */
	public static String ERROR_CODE = "303";
	
	/** 跨域请求  */
	public static String CROS_URL = "*";
	
	/** 桌面机首页  */
	public static String UI_INDEX = "uiIndex";
	
	/** 用来分享优惠券标示 */
	public static String UI_COUPON = "uiCoupon";
	
	/** 用户  */
	public static String UI_USER = "uiUser";
	
	/** 历史  */
	public static String UI_HISTORY = "uiHistory";
	
	/** 大机器首页  */
	public static String UI_BIGINDEX = "kj1011";
	
	/** 大机器jsp */
	public static String UI_INDEXJSP = "uiIndexJsp";
	
	/** 大机器简版jsp */
	public static String UI_SIMPLEJSP = "uiSimpleJsp";
	
	/** 健康之星活动页面 */
	public static String UI_JKZX = "jkzx";
	
	/** 代理商报告首页 */
	public static String UI_AINDEX = "uiAIndex";
	
	/** 代理商历史报告 */
	public static String UI_AHISTORY = "uiAHistory";
	
	/** 代理商首页历史报告 */
	public static String UI_KJHISTORY = "uiKjHistory";
	
	/** 操作密钥 */
	public static String SECRETKEY = "18311164813*+.";
	
	/** 短信token */
	public static String SMS_TOKEN = "SMS_TOKEN:";
	
	/** A002:解锁   */
	public static String ROBOT_A002 = "A002";
	
	/** A003:锁屏   */
	public static String ROBOT_A003 = "A003";
	
	/** A004:升级   */
	public static String ROBOT_A004 = "A004";
	
	/** A005:上传日志  */
	public static String ROBOT_A005 = "A005";
	
	/** A006:系统自检  */
	public static String ROBOT_A006 = "A006";
	
	/** A007:系统重启  */
	public static String ROBOT_A007 = "A007";
	
	/** A008:立即关机  */
	public static String ROBOT_A008 = "A008";
	
	/** off2200-on0730:定时开关机	 */
	public static String ROBOT_OFFON = "off2200-on0730";
	
	/** 康加技术平台token	 */
	public static String KJ_TOKEN = "kshopoken100000001";
	
	/** 康加技术配置 生产 */
	public static String KJ_AGENTID = "100000001";
	public static String KJ_AGENTKEY = "Ase07b9274920392390e9935ef333d072fd90ae";
	/** 康加技术配置 测试  */
//	public static String KJ_AGENTID = "100000002";
//	public static String KJ_AGENTKEY = "Ase07b92749aad92390e9935ef333d072fd90ae";
}
